#pragma once

#include <QFrame>
#include "ui_UserPKInfoPanel2.h"
class CUserPKInfoPanel2 : public QFrame
{
	Q_OBJECT

public:
	CUserPKInfoPanel2(QWidget *parent = Q_NULLPTR);
	~CUserPKInfoPanel2();

	void UpdateUserInfo(int gender, const QString &nickname, const QString &level, const QString &headicon);

	void UpdateUserHeadIcon(const QString &headicon);
signals:
	void clicked();
public slots:
	void onNickNameClicked();
	QWidget* head() { return ui.label_head; };
private:
	Ui::CUserPKInfoPanel2 ui;
	int m_gender;
};
